<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<script type="text/javascript">
  //<![CDATA[
   //debe usarse los \\:  en lugar de : en los selectores de JQuery
   $( document ).ready(function() {	  
	 console.log('Listo');
	});        
//]]>
</script>
	<link rel="stylesheet" type="text/css" href="css/estilo.css" />
	<script type="text/javascript" src="js/main.js" />
</h:head>
<h:body>
	<br />
	<CENTER>
		<h1>
			<h:outputLabel value="Robot Explorador" />
		</h1>
	</CENTER>
	<h:form id="form_content">
			<div class="clearfix text-align-left">
				<h:outputLabel value="Usuario que se va a eliminar:" />
				<br />
			</div>
			<div class="ui-form-row clearfix text-align-center">
				<div>
				<br />
				 <h:outputText value="#{userRegistrationController.userSelected.userName}" />
				 <br />
				 <h:outputText value="#{userRegistrationController.userSelected.firstName}" />
				 <br />
				 <h:outputText value="#{userRegistrationController.userSelected.firstLastName}" />
				 <br />
				 <br />
				 
				 <p:commandButton id="Confirmar" actionListener="#{userRegistrationController.eliminarUsuario}" value="Confirmar" oncomplete="currentPagefromServer(xhr, status, args)" />
				 
				</div>	
			</div>
	</h:form>
</h:body>
</html>